//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using NHibernate.Criterion;

using ProjectBase.Core;
using ProjectBase.Data;
using ProjectBase.Data.NH;

using $prjsn$.Entity;
using $prjsn$.Common;
using $prjsn$.Common.Data;

namespace $safeprojectname$
{
    public class CustomListTypeDao : CodeListDao<CustomListType, CustomListTypeFilter>, ICustomListTypeDao
    {
        /// <summary>Evaluates all filters and order-by clauses, paging</summary>
        public override IEnumerable<CustomListType> Find(CustomListTypeFilter filter)
        {
            Criteria.Append(Apply(filter));

            return base.GetListByCriteria(filter);
        }
    }
}

